var menu = new Vue({
    methods:{
        getMenuList:function () {
            layui.use('table', function(){
                var table = layui.table;
                table.render({
                    elem: '#menuInfo'
                    ,url: '/admin/menu/role/first'
                    ,cols: [[ //表头
                        {checkbox: true}
                        ,{field: 'name', title: '权限名称', sort: true}
                    ]]
                    ,id: 'menuInfo'
                    ,width:450
                    ,height: 397
                });
            });
        },



    }
});